package com.wujie.market.service.impl;

import com.wujie.market.dao.ShopCatDao;
import com.wujie.market.po.ShopCat;
import com.wujie.market.service.ShopCatService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * ClassName: ShopCatServiceImp
 * Description:
 * date: 2023/2/22 14:09
 *
 * @author 吴杰
 * @since JDK 1.8.0_31
 */
@Service
public class ShopCatServiceImp implements ShopCatService {
    @Resource
    private ShopCatDao shopCatDao;

    @Override
    public List queryList() {
        return shopCatDao.selectList(null);
    }

    @Override
    public void addOne(ShopCat shopCat) {
        shopCatDao.insert(shopCat);
    }

    @Override
    public void deleteOne(String gName) {

    }
}
